package com.dazouye.javabean;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int uid;
    private String uusername;
    private String upassword;

    public String getUusername() {
        return uusername;
    }

    public void setUusername(String uusername) {
        this.uusername = uusername;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUpassword() {
        return upassword;
    }

    public void setUpassword(String upassword) {
        this.upassword = upassword;
    }

    public User(String uusername, int uid, String upassword) {
        this.uusername = uusername;
        this.uid = uid;
        this.upassword = upassword;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uusername='" + uusername + '\'' +
                ", upassword='" + upassword + '\'' +
                '}';
    }
}
